NotifyApp is an application that notifies you with an email when a specified server has gone down. NotifyApp works together with Biap SiteWatcher (Chuck Shutton, http://www.biap.com/products/sitewatcher.html).
You can configure NotifyApp to send emails to the specified people depending on wich server is down. The email contains the name of the server the notification refers to.
You can monitor up to 32 servers, each with a maximum of 8 different e-mail addresses to be notified.
Installation
Copy the NotifyApp folder on your hard disk, then place an alias of NotifyApp in the same folder of SiteWatcher. The name of the alias has to be "NotifyApp".
NotifyApp writes a log in the file NotifyApp.log present in its folder. If you don't want file logging just remove or move out of the folder NotifyApp.log file before running NotifyApp.
NotifyApp requires OpenTransport.
Configuration
Open the SiteWatcher.config file and add the string ":NotifyApp" to each server line.
Es:
3600 600
www1.mydomain.com 80 :NotifyApp
www2.mydomain.com 80 :NotifyApp
etc...
(see SiteWatcher manual for details).
Now configure the NotifyApp.config file before running NotifyApp.
NotifyApp.config is a Tab/CR config text file using the following scheme:
first line of the file reads values for the following variables:
"STTimeDelay MailServer FromMail SubjectMessage"
the subsequent lines have the following variables:
This is the first number you wrote in SiteWatcher.config (3600 in the example). NotifyApp needs to know this number to know which interval SiteWatcher checks servers.
MailServer:
is your email-server (es: mail.mydomain.com). NotifyApp needs to know the mail server that you want to use to send notification mails.
FromMail:
is a (valid) email address on your email server NotifyApp uses as from address. You will see this address as the sender of emails. (es: from@mydomain.com).
SubjectMessage:
is the subject for all mails sent by NotifyApp (note that the body of the mail contains only the name of the server detected).
Server:
It is the server name and port (es: www1.mydomain.com:80).
When SiteWatcher notifies that this server has gone down, NotifyApp will use the following information on the line to send the notify mail(s).
MinutesBetweenMails:
the minimum amount of minutes to wait between two notification about crash of this server. For example, if this number is 60, it means that a mail every hour will be sent for this server (if the server is down for 6 hours, you will receive 6 mails).
email1,email2,email3:
the email addresses (separated by commas) to be notified when the server specified in "Server" param is down (es: john@mydomain.com,alex@mydomain.com, etc.)
Use the NotifyApp.config file given with the application as a start point.
Run
Now you are ready to launch NotifyApp.
When you receive an email from NotifyApp, you will see in the subject a number between parenthesis. This number is a Server Session ID. This is useful to see if two mails refers or not to the same session of the server.
Problems and bugs
If you have problems or you find a bug, email me (valfer@flashnet.it) with a description of the problem.
Disclaimer
NotifyApp is free for your own personal use. However, it is still copyrighted software. You may not redistribute NotifyApp via any medium without written permission from the author. This includes CD-ROM collections and redistribution from other network sites. Network redistribution is allowed for internal use only within your company, school, or organization. Redistribution to the general public is not allowed without written permission.
NotifyApp is given "as it is". A condition of use is that you, the user, must assume all liability for data loss or other problems caused directly or indirectly by "NotifyApp"
Tabasoft
Tabasoft is a company with over 10 years of experience in developing Macintosh software. It has developed several MacOS applications and software for videotex and for the Internet. If you want more information about Tabasoft, please send email to valfer@flashnet.it or visit our web site at http://tabasoft.ancitel.it.